// Written by Craig'n'Dave
using System;
using System.Collections.Generic;
// Dictionary using primitive hash map
namespace ConsoleApp1
{
    class Program
    {
        // Main program starts here
        static void Main(string[] args)
        {
            var dictionary = new Dictionary<string, string>()
            {
                { "England", "London" },
                { "France", "Paris" },
                { "Germany", "Berlin" },
            };
            string key;
            Console.Write("Enter the key: ");
            key = Console.ReadLine();
            if (dictionary.ContainsKey(key))
            {
                Console.WriteLine(dictionary.GetValueOrDefault(key));
            }
            else
            {
                Console.WriteLine("Not found");
            }
        }
    }
}
